package com.cppe.apis;

import com.cppe.entity.Camera;

import java.util.ArrayList;
import java.util.List;

public  class VideoApi {
    public static List<Camera> getVideos()
    {
        Camera camera1 = new Camera();
        camera1.setUrl("http://218.89.187.229:7086/live/cameraid/1000762%240/substream/3.m3u8");
        camera1.setName("成都作业区_简阳市简三路252号_0045");
        Camera camera2 = new Camera();
        camera2.setUrl("http://218.89.187.229:7086/live/cameraid/1000761%240/substream/3.m3u8");
        camera2.setName("成都作业区_简阳市银杏中街97号（值守点）_0044");
        Camera camera3 = new Camera();
        camera3.setUrl("http://218.89.187.229:7086/live/cameraid/1000759%240/substream/3.m3u8");
        camera3.setName("成都作业区_简阳市银杏中街97号（学校背后）_0042");
        Camera camera4 = new Camera();
        camera4.setUrl("http://218.89.187.229:7086/live/cameraid/1000757%240/substream/3.m3u8");
        camera4.setName("成都作业区_成都市简阳市186县道_0040");
        Camera camera5 = new Camera();
        camera5.setUrl("http://218.89.187.229:7086/live/cameraid/1000765%240/substream/3.m3u8");
        camera5.setName("成都作业区_简阳市凯力威大道南段124号_0048");
        List<Camera> cameras = new ArrayList<>();
        cameras.add(camera1);
        cameras.add(camera2);
        cameras.add(camera3);
        cameras.add(camera4);
        cameras.add(camera5);
        return  cameras;

    }
}
